home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: hertz.njit.edu!dxp8108
- From: Dharmesh Patel <dxp8108@hertz.njit.edu>
- Subject: HELP: UNIX's directory functions.
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- Message-ID: <Pine.ULT.3.91.960217002153.21669B-100000@hertz.njit.edu>
- Sender: news@njit.edu
- Nntp-Posting-Host: hertz.njit.edu
- Organization: New Jersey Institute of Technology, Newark, N.J.
- Mime-Version: 1.0
- Date: Sat, 17 Feb 1996 00:25:21 -0500
-
-
- Hi all!
-
- I need help with couple of things in C. I need to know how the functions
- opendir, readdir, closedir, and rewinddir work. I also need to know the
- elements of the struct dirent.
-
- The reason for this request is that I have to write a program that
- simulates the unix command 'pwd', the hard way.
-
- Any help would be greatly appriciated by a strugling student.
-
- Thanx in advance.
-
- Oh and can you please email me rather than posting. Thanks again.
-
- =========================================================================
- | \ / __ | Dharmesh Patel / U.Grad. Student at NJIT |
- - \| \ / | \ | E - Mail : dxp8108@hertz.njit.edu |
- / | X | | | URL=http://hertz.njit.edu/~dxp8108 |
- | | / \ | / | "Madhuri Dixit's Unofficial Home Page" |
- \ _/ | / \ |/ | |
- --------------------+-----+----------------------------------------------
- |8108@hertz.njit.edu
-
-